import request from '@/utils/request'

export function ReportVerifyReject(data) {
  return request({
    url: '/api/v1/ReportManage/ReportVerifyReject',
    method: 'post',
    data
  })
}
export function ReportVerifyPass(data) {
  return request({
    url: '/api/v1/ReportManage/ReportVerifyPass',
    method: 'post',
    data
  })
}

export function getVerifyList(data, pagination) {
  if (pagination) {
    data["pageIndex"] = pagination.pageIndex;
    data["pageSize"] = pagination.pageSize;
  }
  return request({
    url: '/api/v1/ReportManage/GetVerifyList',
    method: 'get',
    params: data
  })
}

// // 查询报告信息
export const Get = params => request('/api/v1/ReportManage/Get', { params: params });
export function UpdateReportData(data) {
  return request({
    url: '/api/v1/ReportManage/UpdateReportData',
    method: 'patch',
    data
  })
}
